package com.automobile.service;

import java.math.BigDecimal;
import java.util.List;

import com.automobile.domain.Announce;
import com.automobile.domain.BeanPage;

public interface AnnounceService {
	
	List<Announce> findUserPaste(int userId);
	//查看用户或商家的贴吧或商品
	
	BeanPage findPaste(BeanPage beanPage);
	//搜索商品或贴吧
	
	Announce findAnnounceById(int announceId);
	
	int save(Announce announce);//保存

    Announce update(Announce announce);//更新
	
	void delete(int id);//删除

}
